home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010306-20010921
/
000090_news@columbia.edu _Mon Apr 30 13:45:45 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2001-09-20
|
3KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA14644
for <kermit.misc@cpunix.cc.columbia.edu>; Mon, 30 Apr 2001 13:45:44 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA07875
for kermit.misc@watsun.cc.columbia.edu; Mon, 30 Apr 2001 13:27:08 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: renaming during ftp
Date: 30 Apr 2001 17:27:06 GMT
Organization: Columbia University
Message-ID: <9ck79a$7m0$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <9ck60u$hds$1@kermit.esat.net>,
Dermot Beirne <dermot.beirne@walshwestern.com> wrote:
: We have a HP 9000 server running 10.20 that sends files to a customer using
: ftp. These files are renamed to include the time after being sent, and put
: in a backup directory. The current script is sending a file, quitting out
: of ftp, then renaming it and backing it up, then logging in again to send
: the next one, and so on! This means the files are timestamped with the time
: they were sent, which is what we want, but because there could typically be
: 200 or 300 files every few minutes, this is very slow and inefficent.
:
Yes indeed. You would like to have an FTP client that can do all this
on a per-file basis automatically, right?
HP-UX comes with a program called "kermit". The version bundled with
HP-UX 10.20 is 6.0, which does most of this with Kermit (not FTP) protocol.
Version 7.0 (which HP hasn't picked up yet) does even more of this, but
still not with FTP protocol.
Version 7.1, which HP will pick up for HP-UX 11.20, does all this for FTP
connections too. It has a whole built-in, scriptable FTP client. You can
try it right now. See:
http://www.columbia.edu/kermit/ftpclient.html
and (for a tutorial on FTP scripting):
http://www.columbia.edu/kermit/ftpscript.html
It is available for HP-UX 10.20 and every other version of HP-UX from
5.21 to 11.xx.
: This will send all the files starting with p to the customer. If the script
: has to send 300 files in one go, by the time it gets to timestamping and
: backing them up, the times can but several minutes out. I would like to
: timestamp them at the time they were actually sent and then send the next
: one without logging out. Has anyone done this? If so then any advice would
: be appreciated.
:
It can do all this too, but it's a bit too much to explain in this message.
If you pick up the C-Kermit 7.1 FTP client and start working with it, I'll
be glad to help you with this part.
- Frank